home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Oct⁄Nov 88 / Re- Outputting to a… ⁄ 11.21.88 < prev    next >
Encoding:
Text File  |  1991-03-06  |  691 b   |  31 lines  |  [TEXT/GEOL]

  1. Item    1714404                         21-Nov-88        14:37
  2.  
  3. From:   BIANCHI1                        Bianchi, Curt
  4.  
  5. To:     PASCOE1                         Pascoe, Geoff
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Response to Outputing to a
  10.  
  11. Geoff,
  12.  
  13. There is no method to do what you want (there should be).  I think you could do
  14. it with the following code:
  15.  
  16. PROCEDURE TTEView.InsertText (theText: Ptr; length: LONGINT);
  17. BEGIN
  18.     TEInsert(theText, length, fHTE);
  19.     SynchView(kRedraw);
  20. END;
  21.  
  22. TEInsert inserts the text at the insert point.  SynchView sync's the TEView to
  23. the TextEdit handle (fHTE).
  24.  
  25. Let me know if it works.
  26.  
  27. Curt Bianchi
  28. Apple Computer
  29.  
  30.  
  31.